Skip to main content

$_POST

Type​

keyword

Summary​

$_POST is an array variable, formed from reading stdin and translating the url-form-encoded or multi-part-encoded data.

Syntax​

$_POST

Description​

Use the $_POST keyword to access posted form data. It is an array formed from reading stdin and translating the data.

$_POST is only available when running in CGI mode (Server).

The data is converted to the native character set from the character set defined in the outputTextEncoding. The $_POST keyword supports multi dimensional arrays.

Examples​

put $_POST into tPOSTArray
put $_POST["name"] into tName

Value​

NameTypeDescription

the result

If the data is not url-form-encoded or multi-part-encoded then the result is empty.

keyword: $_POST_BINARY, $_POST_RAW, $_SERVER, $_GET_BINARY, $_GET_RAW, $_GET

property: outputTextEncoding

Compatibility and Support​

Introduced

LiveCode 4.6.3

OS

mac

windows

linux

Platforms

server

Thank you for your feedback!

Was this page helpful?